package cn.jingzhuan.fm.mvp.model

import cn.jingzhuan.fm.mvp.contract.FMAudioCommentSendContract
import cn.jingzhuan.fm.network.FMApiService
import cn.jingzhuan.fm.network.json.JsonResponse
import io.reactivex.Flowable
import javax.inject.Inject

class FMAudioCommentSendModel @Inject constructor(val fmApiService: FMApiService) : FMAudioCommentSendContract.Model{

    override fun sendComment(audioId: String, content: String): Flowable<JsonResponse<String>> = fmApiService.audioCommentSend(audioId,content,"0")

}
